lib/sign: allow to add keys as base64 string for ed25519
authorDenis Pynkin <denis.pynkin@collabora.com>
Mon, 7 Oct 2019 20:37:08 +0000 (23:37 +0300)
committerDenis Pynkin <denis.pynkin@collabora.com>
Wed, 25 Mar 2020 12:23:54 +0000 (15:23 +0300)
commitf0181adff3d2a494944f86a9ec248d4763498045
tree35b320e09ec8fa7387980b563952733883876a3e
parentbc4488692c68a2148b921efe94ea4dc2cee24725
lib/sign: allow to add keys as base64 string for ed25519

Allow to add public and secret key for ed25519 module as based64 string.
This allows to use common API for pulling and builtins without knowledge
of used signature algorithm.

Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com>
src/libostree/ostree-repo-pull.c
src/libostree/ostree-sign-ed25519.c
src/ostree/ot-builtin-commit.c
src/ostree/ot-builtin-sign.c